using System;

namespace Crainiate.Data.Persistence
{
	public enum Operator
	{
		And = 0,
		Or = 1
	}

	public enum SortDirection
	{
		Ascending = 0,
		Descending = 1
	}

	public enum Comparison
	{
		Equals = 0,
		GreaterThan = 1,
		LessThan = 2,
		GreaterThanEquals = 3,
		LessThanEquals = 4,
		NotEquals = 5,
		StartsWith = 6,
		Contains = 7
	}

    public enum AggregateType
    {
        Unique = 0,
        Sum = 1,
        Min = 2,
        Max = 3,
        Avg = 4,
        Count =5
    }

    public enum ConcurrencyStatus
    {
        None = 0,
        Loaded = 1,
        Created = 2,
        Updated = 3,
        Deleted = 4
    }

    public enum JoinType
    {
        Inner = 0,
        Left = 1,
        Right = 2,
        Outer = 3,
        Cross = 4
    }
}
